package com.emo.wowoblog.service;

import com.emo.wowoblog.entity.Catalog;
import com.emo.wowoblog.view.CatalogView;

import java.util.List;

public interface CatalogService {

    //获取一级目录
    List<Catalog> getCatalogsByPid(Integer pid);

    //初始化一个菜单视图
    CatalogView initCatalogView();
}